package DBTest;

import static org.junit.Assert.*;

import java.sql.SQLException;

import org.junit.Test;

import DBLayer.DBConnection;


/**
 * 
 * @author DMAA0213 - Gruppe 2
 *
 */
public class DBConnectionTest {

	@Test
	public void test() {
		try {
			DBConnection dbCon = DBConnection.getInstance();
			if(dbCon != null)
			{
				System.out.println("Conecction to DB is ok");
		}
		}
		catch (SQLException e) {
			fail(e.getMessage());
		}
	}

}
